﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Wechat.TenpayV3
{
    /// <summary>
    /// 微信相关配置
    /// </summary>
    [Obsolete]
    public class TenpayConfig
    {
        /// <summary>
        /// 服务商或普通商户商户ID
        /// </summary>
        public const string MCHID = "1453806002"; //巴南-普通商户

        /// <summary>
        /// 服务商或普通商户关联的公众号AppID
        /// </summary>
        public const string APPID = "wxac1b7b1f28832892"; //巴南-服务号

        /// <summary>
        /// 服务商或普通商户的API秘钥（v2,v3共用）
        /// </summary>
        public const string API_KEY = "NWAPI04TWYSM30KSMTQZHFD0IOAR899A";

        /// <summary>
        /// 服务商或普通商户API证书序列号
        /// </summary>
        public const string SERIAL_NUMBER = "6F5CF0002D1B70A6CA126F2684E1137C60E863FE"; //0729

        /// <summary>
        /// 服务商或普通商户API证书私钥
        /// </summary>
        public const string PRIVATE_KEY = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCvPSu4TyR3zOzSg2UbePRRpVA4aehiBrFzf3mFxABmeb4nVmrXTqS/2AabRG2IO7hhKO3quqiOy7xHUWciK9xyp3vf45Jp27QQZAuint/qQvs15aXShwvg8AzyeqnghHUNOt073IpUCGb8C0XTpWX3GNqPFyHc9/XFwMTNjyXRYvf+YA9ojbPXMLyzEFrvTh40pc/7X0HGA4BHB5ZVRKg+UDUufV0vEz5q/b6sXbDsYUizr1/flmrAjz6/8H6XfYNK47vr5ltyyx9F+PWqjIxbbQfuWp9HgbDjypPx1Xt/Po5fQsvHOPocTofkUlHHtM8eCE9M8I6vHD2MXDumRw/XAgMBAAECggEAHB8P5grlSkhbdMjbL9ZwNq31uqfcP+bdETDSupGiks9UoZFvoc+gBp1PKhmIDkWvKABedb2wkQHG3BcHGue4/7k62sn1VAGK2tqDN3yRaFGJaLPKsYc0c8tx+HOQ0VPQSOg6WoHgvO2AQVA5y2YOf+HAKRhIOeKc0ThHHMmtAvW/x+G08YLTZkDQ1/+BHY+ZSIjaQps8wqiVy5ootwPuTaYudRj1Vv1PIVQ8+HlPEFiTt/n/WZGJ+OKvy1B05OnAMY/sK1o1UnKmDmm4+htc/yQWyad9K2cr6tpL8Z8jgEtEfQJ+wuHDsWFW865BpJ/BACIkHoQ7EO7DeL/3Ko1jwQKBgQDgjVLn1kbOH/TRvnNZ666Z8IGZlXLrJQ6RC1yqvLdO9iGs4XkXP0cjvZQO5FWI8kRbEg6OszKVYRp6XEEHSMu2DB7Iiz1Sw48M21xhwuYc+Fo5M9ka7DNyRplk3t7MuZQElC/KavyQWXWOoIpMqNnaKiizOyxdyyB7aWmYxOYx9wKBgQDHx92k5pPLYFRatkpcld/B/jqvSpmRdvvJq2V9kWFIZi7e4H3yJ4YL3LlM7/gzCVXQF3K7CH0o7VOx3Y6yfz1+yOeenRdVWCppfBHk/Z9M7nN4M1rd76i23FQxJSUM4+2nNyatyV7kH150YkB6eVj1MuPpdaGWZAxl6xLE5bKZIQKBgQDbLDWSgcwEXp6Xpltylh6KtHvay0sqhrXsDnn5UE9fK8/8rOqDLUkjcmO0EVwHWegsN7irwe6KbQfqDGeQU5Y57ySQu480XBohA27tIM1301RE5v1uUMN6M7x+/yXaDvyRZ44p9TjlL9wVRU8XuetBDMtC/Wu1dJEUw/PEn9LLSwKBgQCEO2QXK48ThBURXarmkUTjcFSDhcsTnz+VAl9Qt5M+inPnjYuPZl2xKE12ATe1AC7OZ1bHOR0uo7dL+SvkNZgMfQnh0HSLRqn72+U0PjLchs/i9YrlbyWqszb+uGlHmO3KShTN3oVyVNj+C7JF3l/lG+QCuJtVoa8bHnbz4F1QQQKBgQDZQq08hOACFsfGHXsI4G3Y7jWO8U0wnhmVWtOskrw9VP3KHOxUYu7GOztysX+9RQyvjx5Jzk+vPyxlEOFpO/eX/xnWBFuK/COY2J92RKor1uprvpKosZo3N2+P4QBkmtgfP4LnSwZOh8zLZtPcnqrw902BppohS3ai0c1ZaYsKrQ==";


        ////================================================================================================================

        ///// <summary>
        ///// 服务商或普通商户商户ID
        ///// </summary>
        //public const string MCHID = "1483762912"; //巴南服务商

        ///// <summary>
        ///// 服务商或普通商户关联的公众号AppID
        ///// </summary>
        //public const string APPID = "wxac1b7b1f28832892"; //

        ///// <summary>
        ///// 服务商或普通商户的API秘钥
        ///// </summary>
        //public const string API_KEY = "EPPZ22DDH6HHKWNMF9PJBBSXAEZL5JSS";

        ///// <summary>
        ///// 服务商或普通商户的APIv3秘钥
        ///// </summary>
        //public const string APIv3_KEY = "EPPZ22DDH6HHKWNMF9PJBBSXAEZL5JSS";

        ///// <summary>
        ///// 服务商或普通商户API证书序列号
        ///// </summary>
        //public const string SERIAL_NUMBER = "480AA64788759BF64E66A5E757030EE549F624C5";

        ///// <summary>
        ///// 服务商或普通商户API证书私钥
        ///// </summary>
        //public const string PRIVATE_KEY = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDj0jRaR6FsPJB/ZsuBYEO1X+XER/fjwpiLbLSUB2URb44Y0cWY4kRu/Mbu0qlQYNFmeEpNMpV7suavET0/ibKQh8lsUVs8Yi7Glh/Iduutf+Mpw4Vma9JwskGDEYCVhueU/qKMnR6ifemNWDlcNFS/UNOnKvG3SrMOu0QCm4bEJFXf45io3wQupJHLVi9ZbHLNaA72VB17jc0FjtX/ZYe1p0FKIAnXyqgxlhUNCvOfKSJdBfJqRl/fIsKdk5f1IFcb89writj7/RLb4tP4ndxa6rO5U+aa52HR4B1k3y62H0anoqfDL/+kj7Gu0xX1HFAp/6B2P1h6u40s7KCGV53tAgMBAAECggEAHvWP27zkONs6H7YObbRxPxKbHMNS8oadSEUrfPpMR8RLISBQo+gLuLFtL0M9cwjVLAGoxzjai4bSRnQnSJ0jwPRS8P9VUK1fAemgxBM1D8zTR/ekBzkbzejLck5MlQVSLzMzT7yCTz6hIG4ezWLnKWCIgq0ZT/k8wAG+ykPsWnb78c+YRadAW2HWieiFBHEe36HYPwlfcXj+Q2I85cCgcz/WOuIxepCAqL5fE4WEFeyXzHmXoZ/fL44fg+lVqfrSr6pYrFwrz0PdhcQySADaKQ1Gcud6JQ9qRDT9d92USxwJO7Erad/Lw2pb3Hl6koPDt/LLn6MpvR0mdDd1eDNbQQKBgQD43lRnM4vZwXr7bOpKwA8Tv0uVXMICewrH3tS8QukUv1AtuKTQnwKuNR38IUOnG1p08qirGi3omytpFFTPwSd1dKnkGK2VFiz9k68aP0MUpB0ahIbtYS9fnjTmjMDWErQfxfXCsSwRG2G/xMg9aQXmzFW5Ocnv1cByyx/JZgcuSQKBgQDqWXlJkWSzHiqf3KM6hJtsBqypZ9p4g0mYiwgMSLderA5AnoTtxiXhAAD8EH9GqsP+CtWofgs4VMXgzrm02UwqE3RFfdPju/hNkx5lRDdcq/QwKweVHv+3l28lsBNrMAcrB1G+EAak6ikURNZFQn3UBE98HwBg4Byhuuk/xEAChQKBgDlc9dN73CZrJG/DoRVtw4vnsgJRiR6NQeTkBeEHAzaXCmIfh03W+QUylSDCgheIhIckT6Bwvlg5O/5Sg2IHwZKfO3GqBoiwvdoNKnVAU7P0SAkOtxMMLaE6lDL4CpLNaNtSA93GfMPMrfFH6GfPR171hmTVXyh6+or7Ku5/J/SRAoGABczNGasFiQFYILi/OXWKuzO3FkJBv/XP3nyiaFtsXmV3vNWviIr86QKtA5AM9lzHmQP/obns4SoH87ZqFjXCktAEcqvYkKxYSuM3P15e2GZRFtgZyfEIdyzCTXZ8JIz9wGzf8wpGf9JjzeKeQvyQTK0GopXJ1pv1WXNczn028FkCgYBC6KjoiwJDph0xbsnw49wmh/Aup7O//jg6R18wEMHkQiRzbB0SHHDrX78cKO6RJzkVmvA39/Y6X2NDGYeHrt+MKyg0OzUbZQhN2y51KTv1jfkk2t0weMuZsvFpJUTcCb3+L/cYI/hBofnl3+piVaxnolN7Z0VXHtcxCf5TF8kltQ==";

        ///// <summary>
        ///// 服务商或普通商户API证书公钥
        ///// </summary>
        //public const string PUBLIC_KEY = "MIID6TCCAtGgAwIBAgIUSAqmR4h1m/ZOZqXnVwMO5Un2JMUwD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g9AuFsazeG8fKAs5c1cjJpcHEGbCiMnZdKGq8ME5kS4dP43wjmBQR+qd4qAQ/IpS4Tq5gOKFJ6VD7/HGY0TLgR7vKPCz9ARPDMOoH2FwDe/uX5BkNaJIPtP0JFAECPLqU+6psJ18dB1qUDYrkfqjt20md8uNcfC7xOQzSZoK4Q4Lon/Pm/4YKTT19Tb5tbRch64+wtONm3/b/A9EmjSxXq2caS/";




        /// <summary>
        /// 微信支付平台API证书公钥（主要用于验签，确保请求数据来自微信平台）
        /// </summary>
        public const string TENPAY_PUBLIC_KEY = "";

        /// <summary>
        /// 支付测试金额，默认10（单位：分）
        /// </summary>
        public const int TEST_AMOUNT = 10;




    }
}
